-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
glibc: update to 2.38. #45501
glibc: update to 2.38. #45501
Conversation
The That said, I don't know if there is value in providing the |
Yeah. I had it because I was experimenting with musl where it would be completely useless. I removed the build option. |
286bceb
to
a7ef192
Compare
I found one thing that requires libcrypt.so.1 (XAMPP). |
0f38983
to
b188235
Compare
7ccab88
to
6208083
Compare
68a7c97
to
7ed0c80
Compare
ad47f2c
to
233549d
Compare
Testing the changes
The following packages must be removed from the repo before merging this PR:
[ci skip]
https://sourceware.org/glibc/wiki/Release/2.38
glibc 2.38 disables libcrypt by default with a recommendation for distros to switch to libxcrypt (as they intend to remove it entirely).
libxcrypt can be built as either libcrypt.so.1 or libcrypt.so.2.
Debian and SUSE only build libcrypt.so.1.
Arch Linux and Fedora build libcrypt.so.2 along with a libxcrypt-compat package.
The rationale for that decision is explained here:
https://fedoraproject.org/wiki/Changes/FullyRemoveDeprecatedAndUnsafeFunctionsFromLibcrypt
https://fedoraproject.org/wiki/Changes/libcrypt_so_1_Let_encrypt_encrypt_r_setkey_setkey_r_and_fcrypt_return_ENOSYS_instead_of_performing_any_real_operation
My inclination is to build libcrypt.so.2 with a libxcrypt-compat package without enosys but I am open to handling it differently.
Keep in mind that packages compiled against libxcrypt's libcrypt.so.1 will not run with glibc's libcrypt.so.1 (but applications compiled with glibc's libcrypt.so.1 will run with libxcrypt's libcrypt.so.1).
You can get the packages using libcrypt using
xbps-query -Rs libcrypt.so -p shlib-requires
.